<%@ page language="java" import="java.util.*,java.lang.Math" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
   <base href="<%=basePath%>">
   <title>福道·诚壹    360问卷系统</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="福道·诚壹, 360,问卷">
	<meta http-equiv="description" content="福道·诚壹, 360, 问卷">
    <link rel="stylesheet" type="text/css" media="all" href="<%=request.getContextPath() %>/css/matrix-login.css" />
    <link type="text/css" media="all" href="<%=request.getContextPath() %>/font-awesome/css/font-awesome.css" rel="stylesheet" />
 	<script type="text/javascript">
		function dl() {
			document.forms[0].submit();
		}
	</script>
  </head>
  <body style="margin:0px auto;text-align:center;margin-top:10%;line-height:20px">
    <div id="loginbox">
       <form id="loginform" class="form-vertical" action="login.html" method="post">
	 	 		<div class="control-group normal_text"> <h3><img src="<%=request.getContextPath() %>/img/logo.png" alt="Logo" /></h3></div>
          <div class="control-group">
              <div class="controls">
                  <div class="main_input_box">
                      <span class="add-on bg_lg"><i class="icon icon-user"></i></span><input type="text" name="username" placeholder="Username" />
                  </div>
              </div>
          </div>
             <div class="control-group">
                 <div class="controls">
                     <div class="main_input_box">
                         <span class="add-on bg_ly"><i class="icon icon-lock"></i></span><input type="password" name="password" placeholder="Password" />
                     </div>
                 </div>
             </div>
             <div class="form-actions" style="text-align:right;">
                 <span style="padding-right:50px"><a type="submit" href="#" onclick="dl();return false;" class="btn btn-success" /> 登陆</a></span>
             </div>
         </form>
     </div>
	<s:if test="message != null and message !='' ">
		<script type="text/javascript" defer="defer">
			alert("${message}");
		</script>
	</s:if>
  </body>
</html>
